import {  postWithLoadTip,get } from '@/utils/request'

//默认导出的是一个对象

export default {
	login: (query) => postWithLoadTip(`/api/login`, query),
	logout: (query) => get(`/api/logout`, query),
	getInfo: (query) => get(`/api/admin/info`, {}),
}
